$(function(){
    var isDark =localStorage.getItem("isDark");
      // 判断是否为真
      if(isDark == "ture"){
        setTheme();
    }
    // 添加样式
    function setTheme(){
        $(".container,.classify").css({
            "background-color":"#000"
        });
        $(".status ul,.status ul li a h1").css({
            "background-color":"#5e5e5e",
            "color":"#fff"
        });
        $(".classify ul li,.classify ul li p").css({
            "background-color":"#5e5e5e",
            "border":"#000",
            "color":"#fff"
        });
    }
    function setTheme2() {
        $(".container,.status ul,.classify ul li,.classify ul li p,.status ul li a h1").css({
            "background-color":"#fff",
            "color":"#000"
        });
        $(".classify").css({
            "background-color":"#efefef"
        });
    }
})